package org.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@MapperScan("org.example.dao")
@EnableCaching   //开启缓存
public class ShoppingApp
{
    public static void main( String[] args )
    {

        SpringApplication.run(ShoppingApp.class, args);
    }
}
